package com.smart.manager.system.entities.models;

import com.smart.common.entities.core.BaseLongModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import java.time.LocalDateTime;

/**
 * 系统管理-操作 日志
 * @author Administrator
 * @TableName system_module
 */
@EqualsAndHashCode(callSuper = true)
@Entity @Data @Accessors(chain = true)
public class SystemOperationLog extends BaseLongModel {


    @ApiModelProperty("操作员")
    private String operator;

    @ApiModelProperty("所在包名")
    private String packageName;


    @ApiModelProperty("执行类名")
    private String className;

    @ApiModelProperty("日志标题")
    private String event;


    @ApiModelProperty("客户端IP")
    private String ip;

    @ApiModelProperty("请求客户端操作系统")
    private String os;


    @ApiModelProperty("请求浏览器")
    private String browser;

    @ApiModelProperty("请求路径")
    private String requestUrl;


    @ApiModelProperty("请求参数")
    private String requestParam;

    @ApiModelProperty("请求类型 ")
    private String requestMethod;


    @ApiModelProperty("操作时间")
    private LocalDateTime actionTime;


}